package com.lyd.sweet.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * 基础查询对象
 *
 * @author 木木
 **/
@Getter
@Setter
@ApiModel(value = "BaseQueryDTO", description = "基础查询对象")
public class BaseQueryDTO extends PageRequest {

    public BaseQueryDTO() {
        super();
    }

    /**
     * 待排序字段
     */
    @ApiModelProperty(value = "待排序字段", example = "createdTime")
    protected String orderBy;

    /**
     * 是否降序排序
     */
    @ApiModelProperty(value = "是否降序排序", example = "false")
    protected Boolean desc;


}
